package cn.jwcat.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("s_notice")
public class Notice implements Serializable {

	/**
	 * id
	 */
	@TableId(value = "notice_id", type = IdType.AUTO)
	private Integer noticeId;

	/**
	 * 题目
	 */
	@TableField("title")
	private String title;

	/**
	 * 内容
	 */
	@TableField("context")
	private String context;

	/**
	 * 创建时间
	 */
	@TableField(value = "create_time", fill = FieldFill.INSERT)
	private LocalDateTime createTime;

	@TableField(exist = false)
	private String[] time;
}
